<template>
  <!--编辑报价-->
  <el-dialog
    :close-on-click-modal="false"
    title="编辑报价"
    :visible.sync="dialogVisible"
    width="500px">
    <div>
      <el-form size="mini" :model="sendForm" label-width="100px"  ref="sendForm" :rules="rules">
        <el-form-item label="牌号：">
        </el-form-item>
        <el-form-item label="数量：">
            <el-input style="width:100px"></el-input>
        </el-form-item>
        <el-form-item label="结算方式：">
          <el-select></el-select>
        </el-form-item>
        <el-form-item label="价格：">
          <el-input style="width:100px"></el-input>
        </el-form-item>
        <el-form-item label="发货地：">
          <el-cascader
            filterable
            clearable
            v-model="diQuIds"
            :props="{ value: 'areaId',label:'areaName',children:'areaChildList' }"
            :options="options"></el-cascader>
        </el-form-item>
        <el-form-item label="发货日期：">
            <el-date-picker
              :default-time="['00:00:00']"
              type="date"
              format="yyyy 年 MM 月 dd 日"
              value-format="yyyy-MM-dd"
              range-separator="至"
              start-placeholder="开始日期"
              end-placeholder="结束日期">
            </el-date-picker>
        </el-form-item>
        <el-form-item label="交货方式：">
            <el-radio-group>
              <el-radio :label="3">送到</el-radio>
              <el-radio :label="6">自提</el-radio>
            </el-radio-group>
        </el-form-item>
        <el-form-item label="起订量：">
           <el-input style="width:100px;"></el-input> <span style="font-size:14px;padding-left:5px;">吨</span>
        </el-form-item>
        <el-form-item label="备注：">
          <el-input type="textarea"></el-input>
        </el-form-item>
      </el-form>
    </div>
    <span slot="footer" class="dialog-footer">
          <el-button @click="handleClose">取 消</el-button>
          <el-button type="primary" @click="handleConfirm" :loading="btnLoading">确认</el-button>
      </span>
  </el-dialog>
</template>
<script>
import {getQiniuToken,saveTrackingInfo,getContactList,getCustomerSetting,orderGoodsList} from '@/api/partner'
import {developInvoiceInfoSet} from '@/api/company'
import {validatePhone} from '@/utils/validate';
import {formatDate} from '@/utils/date';
import store from '@/store'
import { mapGetters } from 'vuex'

const defaultSendForm={
  val:''
};

export default {
  name: "index",
  data(){
    return {
      dialogVisible:false,
      btnLoading:false,
      sendForm:JSON.parse(JSON.stringify(defaultSendForm)),
      rules:{},
      options:[],

      diQuIds:[]

    }
  },
  computed: {
    ...mapGetters([
      'name',
      'mobile',
      'userId'
    ]),
  },
  components : {

  },
  created() {

  },
  filters: {

  },
  methods:{

    //显示还价
    showPop(item){
      this.dialogVisible = true;
    },
    //关闭还价
    handleClose(){
      this.dialogVisible = false;
    },

    //确认还价
    handleConfirm(){

    },
  },
}
</script>

<style  lang="scss">

</style>
